//
//  LMCircleBGView.m
//  Perking
//
//  Created by longmin on 16/10/24.
//  Copyright © 2016年 tim. All rights reserved.
//

#import "LMCircleBGView.h"

@implementation LMCircleBGView

+(instancetype)circleViewWithHeight:(CGFloat)height radius:(CGFloat)radius {
    
    LMCircleBGView *circleBGView = [[LMCircleBGView alloc] init];
    
    circleBGView.height = height;
    circleBGView.layer.cornerRadius = radius;
    circleBGView.clipsToBounds = YES;
    
    circleBGView.width = __kScreenWidth - 24;
    circleBGView.centerX = __kScreenWidth * 0.5;
    
    circleBGView.backgroundColor = [UIColor whiteColor];
    
    return circleBGView;
}

@end
